/*
 * COAPI - Copyright (C) 2019-2020 Cocheer Tech. Co., Ltd.
 * All rights reserved
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef __COAPI_COMM_H_
#define __COAPI_COMM_H_

#ifdef __cplusplus
"C" {
#endif

#include "coapi_media.h"

void coapi_comm_init(void);
int  coapi_comm_deinit(void);
void coapi_player_start(char* toneurl, char* audiourl);
void coapi_player_next(void);
void coapi_player_prev(void);
int  coapi_play_local_music(void);
int  media_status(media_info* media);
int  coapi_get_song_num(void);

#ifdef __cplusplus
} /* "C" */
#endif

#endif
